package br.com.financas.repository.filter;

import br.com.base.persistencia.filter.impl.FiltroImpl;
import br.com.financas.model.UserConnection;

/**
 * @author Milton Domingues
 */
public class FiltroUserConnection extends FiltroImpl<UserConnection> {

	private static final long serialVersionUID = 7226080440451490692L;

	public static String USERNAME = "username";

	private String username;

	public FiltroUserConnection() {
		super("u");
	}

	public String getUsername() {
		return this.username;
	}

	@Override
	public void limparCampos() {
		this.setUsername(null);
	}

	public void setUsername(String username) {
		this.username = username;
	}

}
